package org.dreamwork.jasmine2.web.controls;

/**
 * Created by IntelliJ IDEA.
 * User: seth
 * Date: 2009-9-4
 * Time: 10:16:02
 */
public class Password extends TextBox {
    public Password () {
        setAttribute ("type", "password");
        viewStateEnabled = false;
    }

    @Override
    public void setViewStateEnabled (boolean viewStateEanbled) {
        this.viewStateEnabled = false;
    }

    @Override
    public boolean isViewStateEnabled () {
        return false;
    }
}